package muilt.https;

import org.apache.http.client.HttpClient;
import org.apache.http.impl.client.HttpClients;
import org.junit.Test;

import muilt.DriverHttpsProxyTest;

public class RunHttpsIp extends DriverHttpsProxyTest{
	@Test
	public void test() throws Exception{
		 
			driver.get("https://translate.google.cn/");
			String s = driver.getPageSource();
	        if(s.indexOf("百度")>0){
	           System.out.println("ok");
	        } 
			 
	}
	
	
	public HttpClient getClient(){ 
		return  HttpClients.createDefault();
	}
	 
}
